package com.trailwalker.traceability.entitiy;

/**
 * @author Trailwalker
 * @create 2021-12-09 23:45
 */
public class Config {
    private String ip;
    private Integer lastScanedCodeListSize;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getLastScanedCodeListSize() {
        return lastScanedCodeListSize;
    }

    public int getLastScanedCodeListSize(int defaultValue) {
        return lastScanedCodeListSize == null ? defaultValue : lastScanedCodeListSize;
    }

    public void setLastScanedCodeListSize(Integer lastScanedCodeListSize) {
        this.lastScanedCodeListSize = lastScanedCodeListSize;
    }
}
